<view class="container">
  
  <view class="body-box">
    <view class="body-box-1">
      <image class="avatar" src="{{avatarUrl}}" mode="scaleToFill"></image>
    </view>
    <view class="body-box-2">
      <view class="body2-line body2-line1" bindtap="toNickname">
        <text>昵称</text>
        <text>{{nickName}}</text>
      </view>
      <view class="body2-line">
        <picker class="picker" bindchange="bindGenderChange" value="{{gender}}" range="{{genders}}"> 
          <view class="pickerbox">
            <text>性别</text>
            <text>{{genders[gender]}}</text>
          </view>
        </picker>
      </view>
      <view class="body2-line">
        <picker class="picker" mode="date" value="{{date}}" start="1900-01-01" end="2099-01-01" bindchange="bindAgeChange"> 
          <view class="pickerbox">
            <text>年龄</text>
            <text wx:if="{{age>=0}}">{{age}} 岁</text>
          </view>
        </picker>
      </view>
      <view class="body2-line">
        <text>星座</text>
        <text wx:if="{{constellation.length>0}}">{{constellation}}座</text>
      </view>
      <view class="body2-line">
        <picker class="picker" mode="region" bindchange="bindCityChange" value="{{location}}"> 
          <view class="pickerbox">
            <text>城市</text>
            <text>{{location}}</text>
          </view>
        </picker>
      </view>
      <view class="body2-line" bindtap="toChangesign">
        <text>个性签名</text>
        <text>{{words}}</text>
      </view>
      <view class="body2-line" bindtap="toAboutMe">
        <text>关于我</text>
        <image class="body2-img" src="/pic/chevron-right.png" mode="scaleToFill"></image>
      </view>
      <view class="body2-line" bindtap="toPersonalfiles" style="border-bottom:none;">
        <text>心仪的TA</text>
        <image class="body2-img" src="/pic/chevron-right.png" mode="scaleToFill"></image>
      </view>
    </view>
  </view>
</view>
